<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://struts.apache.org/tags-html-el" prefix="html" %>
<%@ taglib uri="http://amc.af.mil/radtaglibrary" prefix="rad" %>
<%@ taglib uri="http://amc.af.mil/portal-el" prefix="portal" %>
<html>
<head>
    <title>Assign Alternate Custodians</title>
</head>

<body>

<rad:useBean id="userViewHelper"/>
<rad:useBean id="adpeAccountViewHelper"/>

<div id="portal-left-bar">
    <jsp:include page="../../navigation/navigationMenu.jsp"/>
</div>

<div id="portal-content">
    <portal:box title="Assign Alternate Custodians" style="width: 800px">
        <portal:subSection title="Select Custodian">
            <html:form action="adpeAccountAction.do?method=assignAlternateCustodian" method="post">

                <p><label for="adpeAccountId">Account Id</label>
                    <html:select property="adpeAccountId">
                        <html:optionsCollection filter="false"
                                                name="adpeAccountViewHelper"
                                                property="all"
                                                label="name"
                                                value="id"/>
                    </html:select></p>

                <p><label for="alternateCustodianUserId">User</label>
                    <html:select property="alternateCustodianUserId" size="10" multiple="multiple">
                        <html:optionsCollection filter="false"
                                                name="userViewHelper"
                                                property="all"
                                                label="displayName"
                                                value="id"/>
                    </html:select>

                </p>

                <p><html:submit value="Assign Custodian"/></p>
            </html:form>

        </portal:subSection>
    </portal:box>
</div>
</body>
</html>